all: TFTPServerMain

errors.o:Errors/errors.cpp Errors/errors.h
	g++ -c Errors/errors.cpp
Timeout.o:Timeout/Timeout.cpp Timeout/Timeout.h
	g++ -c Timeout/Timeout.cpp
StringOps.o:Stringops/StringOps.cpp Stringops/StringOps.h
	g++ -c Stringops/StringOps.cpp
TFTP.o:Headers/TFTP.cpp Headers/TFTP.h
	g++ -c Headers/TFTP.cpp
Server.o:Server/Server.h Server/Server.cpp errors.o TFTP.o Timeout.o
	g++ -c Server/Server.cpp
TFTPServerMain.o:Server/TFTPServerMain.cpp Server.o errors.o
	g++ -c Server/TFTPServerMain.cpp
TFTPServerMain:TFTPServerMain.o Server.o TFTP.o StringOps.o errors.o Timeout.o
	g++ -o TFTPServerMain TFTPServerMain.o Server.o TFTP.o errors.o StringOps.o Timeout.o

.PHONY:clean
clean:
	-rm *.o
	-rm TFTPServerMain
